<?php
class View_Administration_Module_Add_Details extends View_Administration_Module_Edit
{
	public function buildContent()
	{
		$words	= $this->words['module']['addModuleDetails'];
		$ui		= array(
			'words'			=> $words,
			'form'			=> $this->buildForm(
				'administration.module',
				'addModuleDetails',
				'module',
				'addModuleDetails'
			),
			'module'		=> $module,
			'buttonCancel'	=> $this->html->LinkButton(
				self::getUrl(),
				$words['buttonCancel'],
				'but cancel'
			),
			'buttonSave'	=> $this->html->Button(
				'addModuleDetails',
				$words['buttonSave'],
				'but add'
			),
			'form.tag'		=> $this->html->Form(
				'addModuleDetails',
				self::getUrl( array( 'action' => 'addModule' ) )
			)
		);
		return $this->loadTemplate( 'administration.module.add.details', $ui );
	}
}
?>